package com.medicine.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.medicine.common.base.AutoEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_menu")
public class Menu extends AutoEntity<Menu> {

    @ApiModelProperty(value = "菜单名称", name = "name")
    private String name;

    @ApiModelProperty(value = "父级菜单名称", name = "parentName")
    private String parentName;

    @ApiModelProperty(value = "父级菜单id", name = "parentId")
    private String parentId;

    @ApiModelProperty(value = "排序", name = "sort")
    private Integer sort;

    @ApiModelProperty(value = "组件路径", name = "component")
    private String component;

    @ApiModelProperty(value = "显示状态", name = "visible")
    private Integer visible;

    @ApiModelProperty(value = "菜单头标", name = "icon")
    private String icon;

    @ApiModelProperty(value = "是否为外链接", name = "isFrame")
    private Integer isFrame;

}
